package com.java123.t1;

import java.util.Scanner;

public class Test1 {
	
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		while(true){
			System.out.println("请输入：[0]语文题 [1]数学题 [2]查看答案 [3]退出程序");
			int i = scan.nextInt();
			if(i==0){
				System.out.println("白日依山尽，_________");
			}
			if(i==1){
				System.out.println("1 + 1 = ?");
			}
			if(i==2){
				System.out.println("白日依山尽，黄河入海流。");
				System.out.println("1 + 1 = 2");
			}
			if(i==3){
				scan.close();
				System.out.println("bye!");
				break;
			}
			
		}
		
	}

}
